package com.lifa.service;


import com.lifa.entity.ShangpinFenlei;

import java.util.List;

public interface ShangpinFenleiService {
   /**
    * 查询全部
    * @return
    */
   public List<ShangpinFenlei> list1();

   /**
    * 根据商品id删除商品信息
    * @param shangpinFenlei_Id
    * @return
    */
   public int delete(int shangpinFenlei_Id);

   /**
    * 添加商品
    * @param shangpinFenlei
    * @return
    */
   public int insert(ShangpinFenlei shangpinFenlei);

   /**
    * 获取到商品分类id
    * @param shangpinFenlei_Id
    * @return
    */
   public ShangpinFenlei queryId(int shangpinFenlei_Id);

   /**
    * 根据商品分类id修改信息
    * @param shangpinFenlei
    * @return
    */
   public int update(ShangpinFenlei shangpinFenlei);
}
